package com.itheima.day05.shop.service;


import com.itheima.day05.shop.pojo.Product;

import java.util.List;


public interface ProductService {


    public List<Product> getAllProducts();

    public Product getProductById(Long id);

    public void saveProduct(Product product);

    public void deleteProduct(Long id);

    public List<Product> getProductsByPriceRange(double minPrice, double maxPrice);

    void updateProduct(Product product);
}